import { DeviceTypeEnum, ScheduleTypeEnum } from "@/enum/system.enum";

export interface PublishTime {
  start: string;
  end: string;
  work: string[];
  id: string;
  raw: any;
}

interface Material {
  name: string;
  second: number;
  url: string;
  id: string;
}

export interface Publicize {
  name: string;
  publicizeSize: string;
  materials: Material[];
  type: DeviceTypeEnum;
  objects: string[];
  id?: string;
  publishTime: PublishTime[];
  timeZone: string;
  publishStatus: "1" | "0";
  timeType: ScheduleTypeEnum;
  week: any;
}
